<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>div标记</title>
		<style type="text/css">
			.one {
				width: 450px;
				height: 30px;
				line-height: 30px;
				background: #fcc;
				font-size: 18px;
				font-weight: bold;
				/* 设置字体加粗 */
				text-align: center;

			}
			.two{
				width: 450px;
				height: 100px;
				background: #008000;
				font-size: 14px;
				text-indent: 2em;
			}
		</style>
	</head>
	<body>
		<div class="one">用div设计的标题文本</div>
		<div class="two">div标签中标记的内容-----</div>

	</body>
</html>
